package com.ccit.dao;

import com.ccit.domain.Employee;
import com.ccit.domain.Location;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LocationDao {

    //通过Id查询员工信息
    @Select("select * from location where location = #{location}")
    public Location getByLocation(String location);
}
